package com.guijq.design.command.simpleremote;

/**
 * @author yangjf
 * @version 0.1.0
 * @time 2018/10/23/023
 */
public class GarageDoorOpenCommand implements Command {
    GarageDoor garageDoor;

    public GarageDoorOpenCommand(GarageDoor garageDoor) {
        this.garageDoor = garageDoor;
    }

    @Override
    public void execute() {
        garageDoor.up();
    }
}
